INCLUDES= $(all_includes) \
		-I$(top_srcdir) \
		-I$(top_srcdir)/include
		 	
DEFINES= -DDAEMON -DTIXML_USE_STL -DBOOST_FILESYSTEM_VERSION=2

bin_PROGRAMS = eacs

eacs_SOURCES = 	data/Command.cpp \
					data/Configuration.cpp \
					data/Device.cpp \
					data/Group.cpp \
					data/Log.cpp \
					data/User.cpp \
					database/DataBase.cpp \
					httpd/DiskFile.cpp \
					httpd/DiskFileSender.cpp \
					httpd/HttpACSInterface.cpp \
					httpd/HttpAuthentication.cpp \
					httpd/HttpFileService.cpp \
					httpd/HttpFileUpload.cpp \
					httpd/HttpJavaScript.cpp \
					httpd/HttpJavaScriptInterface.cpp \
					httpd/HttpServer.cpp \
					httpd/HttpUserManager.cpp \
					httpd/SAccount.cpp \
					httpd/SConfigurations.cpp \
					httpd/SDevices.cpp \
					httpd/SGui.cpp \
					httpd/SIndex.cpp \
					ACSConfig.cpp \
					ACServer.cpp

eacs_LDFLAGS= $(all_libraries) -pg -rdynamic

eacs_LDADD = -lrgcpp -lzip -lutil -ltinyxml -lsqlite3 -lboost_system -lboost_regex -lboost_thread -lboost_filesystem -llog4cplus -lpion-common -lpion-net -lssl -lcrypto -lz -lm

AM_CXXFLAGS= $(DEFINES) -pg -g3

AM_CFLAGS= $(DEFINES) -pg -g3
